﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPagePrivate.master" AutoEventWireup="true" CodeFile="CustomerUserList.aspx.cs" Inherits="Pages_Admin_CustomerUserList" %>
<%@ Register Src="~/UserControls/DataTableList.ascx" TagName="DataTableList" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/Pager.ascx" TagName="Pager" TagPrefix="UC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageHeader" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PageBody" Runat="Server">
    <h4 id="h4Heading" runat="server">Customer's (Service Provider & Developer) User List</h4>
    <div id="divMessage" runat="server" visible="false" enableviewstate="false"></div> 

    <div class="GroupBox">
        <div class="GroupHeaderOverlay">Customer</div>
        <div class="floatleft">Select a Customer</div>
        <div class="floatleft" style="margin-left:10px;">
            <asp:DropDownList ID="ddlCustomer" runat="server" style="width:200px;"></asp:DropDownList>
        </div>        
        <div class="clearboth"></div>
        <div style="margin-top:10px;">
            <asp:Button ID="btnSearch" Text="Search" OnClick="btnSearch_Click" runat="server" />
        </div>
    </div>
    
    <div id="divListingContainer" runat="server" class="ListingContainer" visible="false">
        <div style="margin-bottom:10px;">
            <asp:HyperLink ID="hplAddUserLink" runat="server">Add New User</asp:HyperLink>
        </div>
        <UC:DataTableList ID="ucUserList" runat="server"
            VisibleFields="User Name, Contact Name, Is Active?" 
            CheckForDeletePermission="false" DeleteMessage="Sure to Delete User?"  />
    </div>
    <div style="margin-top:10px;">
        <UC:Pager ID="ucUserListPager" runat="server" OnPageIndexChanged="ucUserListPager_PageIndexChanged" />
    </div>
</asp:Content>


